package businesslogic;

import java.util.List;

public class AnalyzedEntity{
	public AnalyzedEntity(String entityName, List<EntityInfo> entityInfoList){
		this.entityName = entityName;
		this.entityInfoList = entityInfoList;
	}
	private String entityName;
	public List<EntityInfo> entityInfoList;
	public String getEntityName() {
		return entityName;
	}
	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}
	public String toString(){
		String entityInfoString = "";
		for(EntityInfo ei : entityInfoList){
			entityInfoString += ei.toString() + "\n";
		}
		return entityName + entityInfoString;
	}
}
